package com.rpc.center.event.listener;

import com.rpc.center.event.eventtype.BaseEvent;
import com.rpc.center.event.eventtype.EventType;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public abstract class EventListener<T extends BaseEvent> {
    private EventType eventType;
    public abstract void actionListener(T event);
}
